#pragma once
#include "Dx11DemoBase.h"

class CrubeDemo :
	public Dx11DemoBase
{
public:
	CrubeDemo();
	~CrubeDemo();

	virtual bool LoadContent() override;


	virtual void UnLoadContent() override;


	virtual void Update(float dt) override;


	virtual void Render() override;

	ID3D11Buffer *m_pVertexBuffer;
	ID3D11Buffer* m_pIndexBuffer;
	ID3D11InputLayout *m_pInputLayout;
	ID3D11Buffer*   g_pConstantBuffer11;
	ID3D11VertexShader *m_pSolidColorVS;
	ID3D11PixelShader *m_pSolidColorPS;

	XMMATRIX                g_CubeWorld;
	XMMATRIX                g_CubeView;
	XMMATRIX                g_CubeProjection;

};

